<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="ko">
	<head>
		<meta charset="UTF-8">
		<title>List of Actors</title>
	</head>
	<body>
		<h1>List of actors</h1>
		<p>Here you can see the list of all actors</p>
		<table>
			<thead>
				<tr>
					<th>actor_id</th><th>first_name</th><th>last_name</th><th>last_update</th>
				</tr>
			</thead>
			<tbody>
			<c:forEach var="actor" items="${actors }">
				<tr>
					<td>${actor.actorId }</td>
					<td>${actor.firstName }</td>
					<td>${actor.lastName }</td>
					<td>${actor.lastUpdate }</td>
				</tr>
			</c:forEach>
			</tbody>
		</table>
	</body>
</html>